// 业务模块1
import http from '../http';

/**添加分类 */
export function classifyAdd (data) {
  return http({
    url: "classify/add",
    method: "post",
    data: data
  })
}
/**添加三级分类详细内容 */
export function classifyDetail (data) {
  return http({
    url: "classify/detail",
    method: "post",
    data: data
  })
}
/**删除 */
export function classifyDel (params) {
  return http({
    url: "/classify/del",
    method: "get",
    params: params
  })
}
/**修改分类状态 */
export function editState (params) {
  return http({
    url: "/classify/state",
    method: "get",
    params: params
  })
}
/**查询分类*/
export function query (params) {
  return http({
    url: "/classify/query",
    method: "get",
    params: params
  })
}
/**查询分类列表 */
export function queryList (params) {
  return http({
    url: "/classify/list",
    method: "get",
    params: params
  })
}